package com.weifangfirecontrolformal.weifangfirecontrolformal.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.weifangfirecontrolformal.weifangfirecontrolformal.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business_fire_equipment")//单位消防器材
public class BusinessFireEquipment extends BasisEntity {

    private String id;//主键id
    private String fireEquipmentTypeId;//消防器材类型id
    private Integer num;//数量
    private String spec;//规格
    private String businessId;//单位id
    private Date createtime;//创建时间

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getFireEquipmentTypeId() {
        return this.getString("fireEquipmentTypeId");
    }

    public void setFireEquipmentTypeId(String fireEquipmentTypeId) {
        this.put("fireEquipmentTypeId",fireEquipmentTypeId);
    }

    public Integer getNum() {
        return this.getInteger("num");
    }

    public void setNum(Integer num) {
        this.put("num",num);
    }

    public String getSpec() {
        return this.getString("spec");
    }

    public void setSpec(String spec) {
        this.put("spec",spec);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }
}
